<template>
    <div>
        Order
    </div>
</template>
  
<script>

export default {
    name: "Order",
    beforeRouteEnter(to, from, next) {
        let myToken = localStorage.getItem("x-auth-token");
        if (myToken) {
            next();
        } else {
            alert("请先登录！");
        }
    }
};
</script>
  
<style lang="less" scoped>

</style>
  